package com.meiyou.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TixianExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TixianExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTDdcodeIsNull() {
            addCriterion("t_ddcode is null");
            return (Criteria) this;
        }

        public Criteria andTDdcodeIsNotNull() {
            addCriterion("t_ddcode is not null");
            return (Criteria) this;
        }

        public Criteria andTDdcodeEqualTo(String value) {
            addCriterion("t_ddcode =", value, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeNotEqualTo(String value) {
            addCriterion("t_ddcode <>", value, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeGreaterThan(String value) {
            addCriterion("t_ddcode >", value, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeGreaterThanOrEqualTo(String value) {
            addCriterion("t_ddcode >=", value, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeLessThan(String value) {
            addCriterion("t_ddcode <", value, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeLessThanOrEqualTo(String value) {
            addCriterion("t_ddcode <=", value, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeLike(String value) {
            addCriterion("t_ddcode like", value, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeNotLike(String value) {
            addCriterion("t_ddcode not like", value, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeIn(List<String> values) {
            addCriterion("t_ddcode in", values, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeNotIn(List<String> values) {
            addCriterion("t_ddcode not in", values, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeBetween(String value1, String value2) {
            addCriterion("t_ddcode between", value1, value2, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTDdcodeNotBetween(String value1, String value2) {
            addCriterion("t_ddcode not between", value1, value2, "tDdcode");
            return (Criteria) this;
        }

        public Criteria andTUCountIsNull() {
            addCriterion("t_u_count is null");
            return (Criteria) this;
        }

        public Criteria andTUCountIsNotNull() {
            addCriterion("t_u_count is not null");
            return (Criteria) this;
        }

        public Criteria andTUCountEqualTo(String value) {
            addCriterion("t_u_count =", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountNotEqualTo(String value) {
            addCriterion("t_u_count <>", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountGreaterThan(String value) {
            addCriterion("t_u_count >", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountGreaterThanOrEqualTo(String value) {
            addCriterion("t_u_count >=", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountLessThan(String value) {
            addCriterion("t_u_count <", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountLessThanOrEqualTo(String value) {
            addCriterion("t_u_count <=", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountLike(String value) {
            addCriterion("t_u_count like", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountNotLike(String value) {
            addCriterion("t_u_count not like", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountIn(List<String> values) {
            addCriterion("t_u_count in", values, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountNotIn(List<String> values) {
            addCriterion("t_u_count not in", values, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountBetween(String value1, String value2) {
            addCriterion("t_u_count between", value1, value2, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountNotBetween(String value1, String value2) {
            addCriterion("t_u_count not between", value1, value2, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTMeijinIsNull() {
            addCriterion("t_meijin is null");
            return (Criteria) this;
        }

        public Criteria andTMeijinIsNotNull() {
            addCriterion("t_meijin is not null");
            return (Criteria) this;
        }

        public Criteria andTMeijinEqualTo(Double value) {
            addCriterion("t_meijin =", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinNotEqualTo(Double value) {
            addCriterion("t_meijin <>", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinGreaterThan(Double value) {
            addCriterion("t_meijin >", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinGreaterThanOrEqualTo(Double value) {
            addCriterion("t_meijin >=", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinLessThan(Double value) {
            addCriterion("t_meijin <", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinLessThanOrEqualTo(Double value) {
            addCriterion("t_meijin <=", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinIn(List<Double> values) {
            addCriterion("t_meijin in", values, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinNotIn(List<Double> values) {
            addCriterion("t_meijin not in", values, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinBetween(Double value1, Double value2) {
            addCriterion("t_meijin between", value1, value2, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinNotBetween(Double value1, Double value2) {
            addCriterion("t_meijin not between", value1, value2, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTTimeIsNull() {
            addCriterion("t_time is null");
            return (Criteria) this;
        }

        public Criteria andTTimeIsNotNull() {
            addCriterion("t_time is not null");
            return (Criteria) this;
        }

        public Criteria andTTimeEqualTo(Date value) {
            addCriterion("t_time =", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeNotEqualTo(Date value) {
            addCriterion("t_time <>", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeGreaterThan(Date value) {
            addCriterion("t_time >", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("t_time >=", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeLessThan(Date value) {
            addCriterion("t_time <", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeLessThanOrEqualTo(Date value) {
            addCriterion("t_time <=", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeIn(List<Date> values) {
            addCriterion("t_time in", values, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeNotIn(List<Date> values) {
            addCriterion("t_time not in", values, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeBetween(Date value1, Date value2) {
            addCriterion("t_time between", value1, value2, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeNotBetween(Date value1, Date value2) {
            addCriterion("t_time not between", value1, value2, "tTime");
            return (Criteria) this;
        }

        public Criteria andTShenheIsNull() {
            addCriterion("t_shenhe is null");
            return (Criteria) this;
        }

        public Criteria andTShenheIsNotNull() {
            addCriterion("t_shenhe is not null");
            return (Criteria) this;
        }

        public Criteria andTShenheEqualTo(String value) {
            addCriterion("t_shenhe =", value, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheNotEqualTo(String value) {
            addCriterion("t_shenhe <>", value, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheGreaterThan(String value) {
            addCriterion("t_shenhe >", value, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheGreaterThanOrEqualTo(String value) {
            addCriterion("t_shenhe >=", value, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheLessThan(String value) {
            addCriterion("t_shenhe <", value, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheLessThanOrEqualTo(String value) {
            addCriterion("t_shenhe <=", value, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheLike(String value) {
            addCriterion("t_shenhe like", value, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheNotLike(String value) {
            addCriterion("t_shenhe not like", value, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheIn(List<String> values) {
            addCriterion("t_shenhe in", values, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheNotIn(List<String> values) {
            addCriterion("t_shenhe not in", values, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheBetween(String value1, String value2) {
            addCriterion("t_shenhe between", value1, value2, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTShenheNotBetween(String value1, String value2) {
            addCriterion("t_shenhe not between", value1, value2, "tShenhe");
            return (Criteria) this;
        }

        public Criteria andTStateIsNull() {
            addCriterion("t_state is null");
            return (Criteria) this;
        }

        public Criteria andTStateIsNotNull() {
            addCriterion("t_state is not null");
            return (Criteria) this;
        }

        public Criteria andTStateEqualTo(Boolean value) {
            addCriterion("t_state =", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotEqualTo(Boolean value) {
            addCriterion("t_state <>", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateGreaterThan(Boolean value) {
            addCriterion("t_state >", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateGreaterThanOrEqualTo(Boolean value) {
            addCriterion("t_state >=", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateLessThan(Boolean value) {
            addCriterion("t_state <", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateLessThanOrEqualTo(Boolean value) {
            addCriterion("t_state <=", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateIn(List<Boolean> values) {
            addCriterion("t_state in", values, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotIn(List<Boolean> values) {
            addCriterion("t_state not in", values, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateBetween(Boolean value1, Boolean value2) {
            addCriterion("t_state between", value1, value2, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotBetween(Boolean value1, Boolean value2) {
            addCriterion("t_state not between", value1, value2, "tState");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinIsNull() {
            addCriterion("t_sdmeijin is null");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinIsNotNull() {
            addCriterion("t_sdmeijin is not null");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinEqualTo(Double value) {
            addCriterion("t_sdmeijin =", value, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinNotEqualTo(Double value) {
            addCriterion("t_sdmeijin <>", value, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinGreaterThan(Double value) {
            addCriterion("t_sdmeijin >", value, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinGreaterThanOrEqualTo(Double value) {
            addCriterion("t_sdmeijin >=", value, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinLessThan(Double value) {
            addCriterion("t_sdmeijin <", value, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinLessThanOrEqualTo(Double value) {
            addCriterion("t_sdmeijin <=", value, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinIn(List<Double> values) {
            addCriterion("t_sdmeijin in", values, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinNotIn(List<Double> values) {
            addCriterion("t_sdmeijin not in", values, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinBetween(Double value1, Double value2) {
            addCriterion("t_sdmeijin between", value1, value2, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTSdmeijinNotBetween(Double value1, Double value2) {
            addCriterion("t_sdmeijin not between", value1, value2, "tSdmeijin");
            return (Criteria) this;
        }

        public Criteria andTFangshiIsNull() {
            addCriterion("t_fangshi is null");
            return (Criteria) this;
        }

        public Criteria andTFangshiIsNotNull() {
            addCriterion("t_fangshi is not null");
            return (Criteria) this;
        }

        public Criteria andTFangshiEqualTo(String value) {
            addCriterion("t_fangshi =", value, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiNotEqualTo(String value) {
            addCriterion("t_fangshi <>", value, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiGreaterThan(String value) {
            addCriterion("t_fangshi >", value, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiGreaterThanOrEqualTo(String value) {
            addCriterion("t_fangshi >=", value, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiLessThan(String value) {
            addCriterion("t_fangshi <", value, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiLessThanOrEqualTo(String value) {
            addCriterion("t_fangshi <=", value, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiLike(String value) {
            addCriterion("t_fangshi like", value, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiNotLike(String value) {
            addCriterion("t_fangshi not like", value, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiIn(List<String> values) {
            addCriterion("t_fangshi in", values, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiNotIn(List<String> values) {
            addCriterion("t_fangshi not in", values, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiBetween(String value1, String value2) {
            addCriterion("t_fangshi between", value1, value2, "tFangshi");
            return (Criteria) this;
        }

        public Criteria andTFangshiNotBetween(String value1, String value2) {
            addCriterion("t_fangshi not between", value1, value2, "tFangshi");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}